import request from '@/utils/request'

export function getCarousel(data) {
  return request({
    url: '/infoLessonCarousel/list',
    method: 'POST',
    data
  })
}


export function uploadCover(data) {
  return request({
    url: '/courseLesson/cover/upload',
    method: 'POST',
    data,
  })
}


export function searcher(data) {
  return request({
    url: '/courseLesson/searcher',
    method: 'POST',
    data,
  })
}